#coding:utf-8

from flask_restful import  Resource
from flask import request
import celery_task


class task_test(Resource):
	## 获取用户信息
    def get(self):
		print celery_task.test.delay(2,3)
		# task = celery_task.long_task.AsyncResult("60ed3c0f-970f-4649-9032-072b84f8d3ab")
		# print task
		# print celery_task.test.AsyncResult('0ec4b9be-8e65-4c81-b6e6-842418630696')
		return dict(code = 0, msg = 'eee')